package com.cms.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cms.dao.mapper.AdminUserLogMapper;
import com.cms.exception.SystemDBException;
import com.cms.model.TrAdminUserLog;
import com.cms.service.AdminUserLogService;

@Service
public class AdminUserLogServiceImpl implements AdminUserLogService {

	
	@Autowired
	private AdminUserLogMapper logMapper;
	
	@Override
	public void addAdminLog(TrAdminUserLog log) throws SystemDBException {
		logMapper.addAdminUserLog(log);
	}

	@Override
	public void updateLoginOutDate(String loginName) throws SystemDBException {
		logMapper.updateLoginOutDate(loginName);
	}

	
}
